<div id="login">
    <center>
    <form method="post" action="include/checkloginaccount.php">
        <h1>Log in</h1>
        Username: <input name="username" required="required" type="text" placeholder="myusername"/>
        <br>
        Password: <input name="password" required="required" type="password" placeholder="password" />
        <p>
        <input type="submit" name="log_in" value="Log-in" />
        </p>
        
        <p class="keeplogin"> 
                    <input type="checkbox" name="loginkeeping" id="loginkeeping" value="loginkeeping" /> 
                    <label for="loginkeeping">Keep me logged in</label>
                </p>
        <?php
            if(isset($_GET['loginerror=1']))
            {
                echo "Invalid Username or Password";
            }
        ?>
    </form></center>
    <p style="margin-left:500px">
    <a href="regtemplate.php"><input type="submit" value="Register"/></a>
    </p>
</div>
